package agent.strategy.builders;

import agent.strategy.strategies.SelectMarketAndView;
import agent.strategy.Strategy;
import agent.strategy.StrategyBuilder;
import api.API;
import api.MarketFactory;
import api.MarketType;
import utils.Display;

/**
 * User: Darren
 * Date: 18/05/13
 * Time: 1:15 PM
 */
public class BuildSelectMarketAndView extends StrategyBuilder {

    public BuildSelectMarketAndView(API api, MarketFactory marketFactory, Display display) {
        super(api, marketFactory, display);
    }

    @Override
    public Strategy build() {
        return new SelectMarketAndView(api, marketFactory.getMarket(MarketType.BETFAIR_MARKET), display);
    }
}
